home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 2
/
CU Amiga Magazine's Super CD-ROM 02 (1996)(EMAP Images)(GB)[!][issue 1996-04].iso
/
magazine
/
amiga_e
/
ged-e
/
ged_reqhelp.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-10-09
|
1KB
|
36 lines
/* $VER: 0.9, ©1994 BURGHARD Eric. */
/* Help on GoldED.guide */
options results /* enable return codes */
/* not started by GoldEd ? */
if (left(address(), 6) ~= "GOLDED") then address 'GOLDED.1'
'LOCK CURRENT QUIET' /* lock GUI, gain access */
if rc then exit
options failat 6 /* ignore warnings */
signal on syntax /* ensure clean exit */
if exists("ENV:OldFunc2") then do
ok=open(readhandle,"ENV:OldFunc2","read")
oldfunc=readln(readhandle)
ok=close(readhandle)
end
else oldfunc=""
'REQUEST TITLE="GoldED Help request" BODY="Type searched name" BUTTON="Search|Cancel" STRING OLD="'oldfunc'" VAR OLDFUNC'
if rc~==0 then do
'UNLOCK'
exit
end
address command 'SetEnv OldFunc2 'result''
'HELP TOPIC 'oldfunc''
'UNLOCK'
exit
SYNTAX:
say "Sorry, error line" SIGL ":" ERRORTEXT(RC) ":-("
'UNLOCK'
exit